500 |
How can I select a column
axG2antt1.MarkSearchColumn = false; axG2antt1.SingleSel = false; axG2antt1.FullRowSelect = EXG2ANTTLib.CellSelectEnum.exRectSel; (axG2antt1.Columns.Add("Column1") as EXG2ANTTLib.Column).Selected = true; axG2antt1.Columns.Add("Column2"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellValue(var_Items.AddItem("One"),1,"One"); EXG2ANTTLib.Items var_Items1 = axG2antt1.Items; var_Items1.set_CellValue(var_Items1.AddItem("Two"),1,"Two"); axG2antt1.Items.SelectAll(); |
499 |
How can I avoid focusing a new cell, when user presses an arrow, page, home or end key, while the editor is opened
axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exLeftArrow,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exRightArrow,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exUpArrow,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exDownArrow,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exHomeKey,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exEndKey,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exPageUpKey,0); axG2antt1.set_DefaultEditorOption(EXG2ANTTLib.EditorOptionEnum.exPageDownKey,0); (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellValue(var_Items.AddItem(0),1,1); EXG2ANTTLib.Items var_Items1 = axG2antt1.Items; var_Items1.set_CellValue(var_Items1.AddItem(2),1,3); |
498 |
How can I expand predefined items in a drop down list editor as I type
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column); var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1); EXG2ANTTLib.Editor var_Editor = var_Column.Editor; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exExpandOnSearch,true); var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.DropDownAutoWidth = EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth; var_Editor.AddItem(1,"<b>CObject</b> class",1); var_Editor.InsertItem(2,"<b>CCmdTarget</b> class",2,1); var_Editor.InsertItem(3,"<b>CWnd</b> class",3,2); var_Editor.InsertItem(6,"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",1,1); var_Editor.AddItem(4,"Exceptions",1); var_Editor.InsertItem(7,"<b>System</b> Exceptions",2,4); var_Editor.AddItem(5,"File Services",2); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
497 |
How can I add an extra button to a date picker editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axG2antt1.DefaultItemHeight = 20; EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.AddButton("B1",2,1,"This is a bit of text that's shown when the cursor hovers the button B1",null,null); var_Editor.ButtonWidth = 20; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(0); var_Items.AddItem(1); |
496 |
How can I add an extra button to a spin editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axG2antt1.DefaultItemHeight = 20; EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType; var_Editor.AddButton("B1",2,1,"This is a bit of text that's shown when the cursor hovers the button B1",null,null); var_Editor.ButtonWidth = 20; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(0); var_Items.AddItem(1); |
495 |
How can I remove or delete the buttons in the editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.AddButton("B1",1,0,"This is a bit of text that's shown when the cursor hovers the button B1",null,null); var_Editor.AddButton("B3",2,1,"This is a bit of text that's shown when the cursor hovers the button B3",null,null); var_Editor.AddButton("B4",1,1,"This is a bit of text that's shown when the cursor hovers the button B4",null,null); var_Editor.RemoveButton("B1"); var_Editor.ButtonWidth = 20; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("Text 1"); var_Items.AddItem("Text 2"); |
494 |
How can I hide the buttons in the editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axG2antt1.DefaultItemHeight = 24; EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.AddButton("B1",1,0,"This is a bit of text that's shown when the cursor hovers the button B1",null,null); var_Editor.AddButton("B3",2,1,"This is a bit of text that's shown when the cursor hovers the button B3",null,null); var_Editor.AddButton("B4",1,1,"This is a bit of text that's shown when the cursor hovers the button B4",null,null); var_Editor.ButtonWidth = 0; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("Text 1"); var_Items.AddItem("Text 2"); |
493 |
How can I change the width of the buttons in the editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axG2antt1.DefaultItemHeight = 24; EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.AddButton("B1",1,0,"This is a bit of text that's shown when the cursor hovers the button B1",null,null); var_Editor.AddButton("B3",2,1,"This is a bit of text that's shown when the cursor hovers the button B3",null,null); var_Editor.AddButton("B4",1,1,"This is a bit of text that's shown when the cursor hovers the button B4",null,null); var_Editor.ButtonWidth = 24; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("Text 1"); var_Items.AddItem("Text 2"); |
492 |
How can I add extra buttons to an editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.AddButton("B1",1,0,"This is a bit of text that's shown when the cursor hovers the button B1",null,null); var_Editor.AddButton("B2",2,0,"This is a bit of text that's shown when the cursor hovers the button B2",null,null); var_Editor.AddButton("B3",3,1,"This is a bit of text that's shown when the cursor hovers the button B3",null,null); var_Editor.AddButton("B4",1,1,"This is a bit of text that's shown when the cursor hovers the button B4",null,null); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("Text 1"); var_Items.AddItem("Text 2"); |
491 |
is there any function to specify the number of rows / items being visible in a drop down list editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); var_Editor.DropDownRows = 1; var_Editor.PopupAppearance = EXG2ANTTLib.InplaceAppearanceEnum.FlatApp; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
490 |
How can I change the border for a drop down editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.PopupAppearance = EXG2ANTTLib.InplaceAppearanceEnum.FlatApp; axG2antt1.Items.AddItem("Today"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.get_CellEditor(var_Items.AddItem("Today"),0).EditType = EXG2ANTTLib.EditTypeEnum.DateType; |
489 |
How can I remove a predefined item in a drop down editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exColorListShowName,true); var_Editor.RemoveItem(255); axG2antt1.Items.AddItem(255); axG2antt1.Items.AddItem(65280); |
488 |
How can I remove or clear all predefined items in a drop down editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; var_Editor.ClearItems(); var_Editor.AddItem(255,"Red Color",null); axG2antt1.Items.AddItem(255); |
487 |
How can I center the predefined items in a drop down editor editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); var_Editor.DropDownAlignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
486 |
How can I right align the items in a drop down editor editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); var_Editor.DropDownAlignment = EXG2ANTTLib.AlignmentEnum.RightAlignment; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
485 |
How can I specify the width of the drop down editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.DropDownAutoWidth = EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth; var_Editor.DropDownMinWidth = 385; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(255); var_Items.AddItem(65280); |
484 |
How can hide the drop down button for an editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.DropDownVisible = false; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(255); var_Items.AddItem(65280); |
483 |
How can assign a tooltip to a drop down list editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); var_Editor.set_ItemToolTip(1,"This is a tooltip that shows when user hovers the <b>first</b> item"); var_Editor.set_ItemToolTip(2,"This is a tooltip that shows when user hovers the <b>second</b> item"); var_Editor.set_ItemToolTip(3,"This is a tooltip that shows when user hovers the <b>third</b> item"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
482 |
How can I lock, disable make read only an editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.Locked = true; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
481 |
How can I sort the items in a drop down list editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"Second item",null); var_Editor.AddItem(2,"First item",null); var_Editor.AddItem(3,"Third item",null); var_Editor.SortItems(true,null); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
480 |
How can I expand an item in the tree or a hierarchy of a drop down editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column); var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1); EXG2ANTTLib.Editor var_Editor = var_Column.Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.DropDownAutoWidth = EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth; var_Editor.AddItem(1,"<b>CObject</b> class",1); var_Editor.InsertItem(2,"<b>CCmdTarget</b> class",2,1); var_Editor.InsertItem(3,"<b>CWnd</b> class",3,2); var_Editor.InsertItem(6,"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",1,1); var_Editor.AddItem(4,"Exceptions",1); var_Editor.InsertItem(7,"<b>System</b> Exceptions",2,4); var_Editor.AddItem(5,"File Services",2); var_Editor.set_ExpandItem(1,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
479 |
How can I display a tree or a hierarchy in a drop down editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column); var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1); EXG2ANTTLib.Editor var_Editor = var_Column.Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.DropDownAutoWidth = EXG2ANTTLib.DropDownWidthType.exDropDownEditorWidth; var_Editor.AddItem(1,"<b>CObject</b> class",1); var_Editor.InsertItem(2,"<b>CCmdTarget</b> class",2,1); var_Editor.InsertItem(3,"<b>CWnd</b> class",3,2); var_Editor.InsertItem(6,"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",1,1); var_Editor.AddItem(4,"Exceptions",1); var_Editor.InsertItem(7,"<b>System</b> Exceptions",2,4); var_Editor.AddItem(5,"File Services",2); var_Editor.ExpandAll(); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
478 |
How can I look for items that includes the typed characters in a drop down list editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exAutoSearch,1); var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
477 |
How can I keep the selection background color while editor is visible
axG2antt1.SelBackColor = Color.FromArgb(255,0,0); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exKeepSelBackColor,true); var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",null); var_Editor.AddItem(2,"Second item",null); var_Editor.AddItem(3,"Third item",null); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
476 |
How can I select from a drop down list the editor, when the user starts typing in the editor, while it is closed and focused
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exAutoDropDownList,1); var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",1); var_Editor.AddItem(2,"Second item",3); var_Editor.AddItem(3,"Third item",2); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
475 |
How can I automatically drop down the list editor, when the user starts typing in the editor
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exAutoDropDownList,-1); var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"First item",1); var_Editor.AddItem(2,"Second item",3); var_Editor.AddItem(3,"Third item",2); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
474 |
How can I add a Font editor
(axG2antt1.Columns.Add("Font") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.FontType; axG2antt1.Items.AddItem("Tahoma"); |
473 |
How can I change the visual appearance for the buttons in the calculator editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcPictureUp,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp)); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcPictureDown,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)") as stdole.IPictureDisp)); axG2antt1.Items.AddItem(10); |
472 |
How can I customize the caption of buttons in the calculator editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcButtons,"0;1;2;3;4;5;6;7;8;9;<b>+</b>;<fgcolor=FF0000>=</fgcolor>"); axG2antt1.Items.AddItem(10); |
471 |
How can I customize the caption of buttons in the calculator editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcButtons,"0;1;2;3;4;5;6;7;8;9"); axG2antt1.Items.AddItem(10); |
470 |
How can I specify the width and height of the buttons in the calculator editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcButtonWidth,32); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcButtonHeight,32); axG2antt1.Items.AddItem(10); |
469 |
How can I change the "Cannot divide by zero" message that shows in the calculator editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcCannotDivideByZero,"Divizion by zero"); axG2antt1.Items.AddItem(10); |
468 |
How can I enable or disable executing operations while the calculator editor is focused and closed
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCalcExecuteKeys,false); axG2antt1.Items.AddItem(10); |
467 |
How can I add a calculator editor
(axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.CalculatorType; axG2antt1.Items.AddItem(10); |
466 |
How can I edit a number between a range or interval
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exInteger; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSpinStep,0); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderWidth,0); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMin,5); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMax,15); axG2antt1.Items.AddItem(10); |
465 |
How can I hide or show the spin in the slider or track bar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSpinStep,0); axG2antt1.Items.AddItem(10); |
464 |
How can I add a slider or track bar editor, with a fixed size
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderWidth,64); axG2antt1.Items.AddItem(10); |
463 |
How can I add a slider or track bar editor, so it covers half of the cell
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderWidth,-50); axG2antt1.Items.AddItem(10); |
462 |
How can I add a slider or track bar editor, so it covers the full cell
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderWidth,-100); axG2antt1.Items.AddItem(10); |
461 |
How can I add a slider or track bar editor within a range or interval of numbers
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Spin from 5 to 15") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exInteger; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMin,5); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMax,15); axG2antt1.Items.AddItem(10); |
460 |
How can I add a slider or track bar editor within a range or interval of float numbers
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Spin from 5 to 15") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exFloat; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMin,0); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMax,1); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSpinStep,"0.01"); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderStep,"0.01"); axG2antt1.Items.AddItem("0.3"); |
459 |
How can I add a spin editor within a range or interval of float numbers
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Spin from 5 to 15") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exFloat; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderWidth,0); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMin,0); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMax,1); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSpinStep,"0.01"); axG2antt1.Items.AddItem("0.3"); |
458 |
How can I add a spin editor within a range or interval of numbers
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Spin from 5 to 15") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exInteger; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderWidth,0); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMin,5); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSliderMax,15); axG2antt1.Items.AddItem(10); |
457 |
How can I add a slider or track bar editor
(axG2antt1.Columns.Add("Slider") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.SliderType; axG2antt1.Items.AddItem(10); |
456 |
I have check box column, but the check-boxes looks disabled. What can I do
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(false); var_Items.AddItem(true); var_Items.AddItem(false); |
455 |
How do I add check box column, so the cell value is changed as I click the cells
axG2antt1.MarkSearchColumn = false; EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("C") as EXG2ANTTLib.Column); var_Column.Width = 18; var_Column.AllowSizing = false; EXG2ANTTLib.Editor var_Editor = var_Column.Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1); axG2antt1.Columns.Add("Text"); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellValue(var_Items.AddItem(false),1,"Check 1"); var_Items.set_CellValue(var_Items.AddItem(true),1,"Check 2"); var_Items.set_CellValue(var_Items.AddItem(false),1,"Check 3"); |
454 |
How do I add check box column, so the cell value is changed as I click the cells
(axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(false); var_Items.AddItem(true); var_Items.AddItem(false); |
453 |
How do I disable adding new lines using the ENTER key in a memo or a multiple lines edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoDropDownType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoDropDownAcceptReturn,false); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th" + "e line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
452 |
How do I add a vertical scroll bar for a memo or a multiple lines edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoDropDownType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th" + "e line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
451 |
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoDropDownType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoHScrollBar,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th" + "e line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
450 |
How can I specify the width or the height for a drop down memo or a multiple lines edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoDropDownType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoDropDownWidth,256); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoDropDownHeight,64); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
449 |
How do I add a drop down memo or a multiple lines edit control
(axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoDropDownType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
448 |
How do I add a color list editor with my own or custom colors
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exColorListShowName,true); var_Editor.ClearItems(); var_Editor.AddItem(255,"Red Color",null); var_Editor.AddItem(16711680,"Blue Color",null); var_Editor.AddItem(65280,"Green Color",null); axG2antt1.Items.AddItem(255); |
447 |
How do I add a color list editor with my own or custom colors
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; var_Editor.ClearItems(); var_Editor.AddItem(255,"Red Color",null); var_Editor.AddItem(16711680,"Blue Color",null); var_Editor.AddItem(65280,"Green Color",null); axG2antt1.Items.AddItem(255); |
446 |
How can I show the color's name in a color list editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exColorListShowName,true); axG2antt1.Items.AddItem(255); |
445 |
How do I add a color list editor
(axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorListType; axG2antt1.Items.AddItem(255); |
444 |
How can I access my own custom or ActiveX editor
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines; axG2antt1.DefaultItemHeight = 128; EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.UserEditorType; var_Editor.UserEditor("MSCAL.Calendar",""); // Add 'Microsoft Calendar Control 2007(MSCAL.OCX)' reference to your project. MSACAL.Calendar var_Calendar = (var_Editor.UserEditorObject as MSACAL.Calendar); var_Calendar.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); var_Calendar.GridCellEffect = 0; var_Calendar.ShowTitle = false; var_Calendar.ShowDateSelectors = false; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("MSCal.Calendar"); var_Items.AddItem("MSCal.Calendar"); |
443 |
How can I add my own custom or ActiveX editor
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines; axG2antt1.DefaultItemHeight = 128; EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.UserEditorType; var_Editor.UserEditor("MSCAL.Calendar",""); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("MSCal.Calendar"); var_Items.AddItem("MSCal.Calendar"); |
442 |
How can I add a hyperlink editor
(axG2antt1.Columns.Add("Shell.Execute") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.LinkEditType; axG2antt1.Items.AddItem("http://www.exontrol.com"); axG2antt1.Items.AddItem("c:\\"); |
441 |
How can I add a drop down editor, that allows only predefined values, but still being able to edit and select
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.PickEditType; var_Editor.AddItem(1,"The first item",1); var_Editor.AddItem(2,"The second item",3); var_Editor.AddItem(3,"The third item",2); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("The first item"); var_Items.AddItem("The third item"); |
440 |
How can I show or hide the rectangle arround progress bar editor
axG2antt1.SelForeColor = Color.FromArgb(0,0,0); axG2antt1.SelBackColor = Color.FromArgb(128,255,255); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Progress") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ProgressBarType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exProgressBarMarkTicker,false); axG2antt1.Items.AddItem(33); |
439 |
How can I hide the caption / percent in the progress bar editor
axG2antt1.SelForeColor = Color.FromArgb(0,0,0); axG2antt1.SelBackColor = Color.FromArgb(128,255,255); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Progress") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ProgressBarType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exProgressBarAlignment,-1); axG2antt1.Items.AddItem(33); |
438 |
How can I align the caption in the center of the progress bar editor
axG2antt1.SelForeColor = Color.FromArgb(0,0,0); axG2antt1.SelBackColor = Color.FromArgb(128,255,255); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Progress") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ProgressBarType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exProgressBarAlignment,1); axG2antt1.Items.AddItem(33); |
437 |
How can I align the caption to the right in the progress bar editor
axG2antt1.SelForeColor = Color.FromArgb(0,0,0); axG2antt1.SelBackColor = Color.FromArgb(128,255,255); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Progress") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ProgressBarType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exProgressBarAlignment,2); axG2antt1.Items.AddItem(33); |
436 |
How can I change the background color for a progress bar editor
axG2antt1.SelForeColor = Color.FromArgb(0,0,0); axG2antt1.SelBackColor = Color.FromArgb(128,255,255); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Progress") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ProgressBarType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exProgressBarBackColor,255); axG2antt1.Items.AddItem(33); |
435 |
How can I add a progress bar editor
axG2antt1.SelForeColor = Color.FromArgb(0,0,0); axG2antt1.SelBackColor = Color.FromArgb(128,255,255); (axG2antt1.Columns.Add("Progress") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.ProgressBarType; axG2antt1.Items.AddItem(33); |
434 |
How can I add a button editor
(axG2antt1.Columns.Add("Button") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.ButtonType; axG2antt1.Items.AddItem("Just a text"); |
433 |
How can I show or hide the type of the OLE Object for Photo or a Picture editor
axG2antt1.ColumnAutoResize = false; EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Photo") as EXG2ANTTLib.Column); var_Column.Width = 74; EXG2ANTTLib.Editor var_Editor = var_Column.Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.PictureType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exShowPictureType,false); EXG2ANTTLib.Items var_Items = axG2antt1.Items; int h = var_Items.AddItem(null); var_Items.set_CellValue(h,0,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)") as stdole.IPictureDisp)); var_Items.set_ItemHeight(h,64); |
432 |
How can I add a Photo or a Picture editor
(axG2antt1.Columns.Add("Photo") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.PictureType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; int h = var_Items.AddItem(null); var_Items.set_CellValue(h,0,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)") as stdole.IPictureDisp)); var_Items.set_ItemHeight(h,64); |
431 |
How can I hide or show the "System" page in the color editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exColorShowSystem,false); axG2antt1.Items.AddItem(255); |
430 |
How can I hide or show the "Palette" page in the color editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exColorShowPalette,false); axG2antt1.Items.AddItem(255); |
429 |
How do I add a color editor
(axG2antt1.Columns.Add("Color") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.ColorType; axG2antt1.Items.AddItem(255); |
428 |
How do I change the masking character
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Mask") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MaskType; var_Editor.Mask = "###"; var_Editor.MaskChar = 48; axG2antt1.Items.AddItem(""); |
427 |
How do I mask an IP
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("IP") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MaskType; var_Editor.Mask = "{0,255}\\.{0,255}\\.{0,255}\\.{0,255}"; axG2antt1.Items.AddItem("1.2.3.4"); |
426 |
How do I add a mask editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Mask") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MaskType; var_Editor.Mask = "{0,255}\\.{0,255}\\.{0,255}\\.{0,255}"; axG2antt1.Items.AddItem("1.2.3.4"); |
425 |
How to show or hide the week numbers header in a drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateWeeksHeader,true); axG2antt1.Items.AddItem("Today"); |
424 |
How do I show or hide the bottom scroll bar in the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateShowScroll,false); axG2antt1.Items.AddItem("Today"); |
423 |
How do highlight the "Today" date is the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateMarkToday,true); axG2antt1.Items.AddItem("Today"); |
422 |
How do I show or hide the "Today" button is the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateShowTodayButton,false); axG2antt1.Items.AddItem("Today"); |
421 |
How to specify the first day of the week in the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateFirstWeekDay,1); axG2antt1.Items.AddItem("Today"); |
420 |
How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateWeekDays,"Du Lu Ma Mi Jo Vi Si"); axG2antt1.Items.AddItem("Today"); |
419 |
How can I change the name of the months in the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateMonths,"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"); axG2antt1.Items.AddItem("Today"); |
418 |
Can I change the "Today" caption being displayed in the drop down date picker calendar editor
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateTodayCaption,"Azi"); axG2antt1.Items.AddItem("Today"); |
417 |
How can allow empty date to drop down date picker control or a calendar control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDateAllowNullDate,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(Convert.ToDateTime("5/12/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(""); var_Items.AddItem(Convert.ToDateTime("5/14/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); |
416 |
How can I a drop down date picker control or a calendar control
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("Today"); |
415 |
How can I have an OR combination of my bit values, something like a check-box list editor
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("CkeckList") as EXG2ANTTLib.Column); var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1); EXG2ANTTLib.Editor var_Editor = var_Column.Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckListType; var_Editor.AddItem(1,"Bit <b>1</b>",null); var_Editor.AddItem(2,"Bit <b>2</b>",null); var_Editor.AddItem(4,"Bit <b>3</b>",null); var_Editor.AddItem(8,"Bit <b>4</b>",null); var_Editor.AddItem(16,"Bit <b>5</b>",null); var_Editor.AddItem(32,"Bit <b>6</b>",null); var_Editor.AddItem(64,"Bit <b>7</b>",null); var_Editor.AddItem(128,"Bit <b>8</b>",null); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(112); var_Items.AddItem(2); |
414 |
How do I stop resizing the memo or a multiple lines edit control, while the user types
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoAutoSize,false); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoHScrollBar,true); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th" + "e line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
413 |
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoHScrollBar,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th" + "e line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
412 |
How do I add a vertical scroll bar for a memo or a multiple lines edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th" + "e line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
411 |
How do I add a memo or a multiple lines edit control
(axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.set_CellSingleLine(var_Items.AddItem("This is a long text that should break the line, and get it displayed on multiple lines."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap); |
410 |
How to specify the proposed change when the user clicks a spin control.
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exInteger; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exSpinStep,10); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(0); var_Items.AddItem(10); var_Items.AddItem(20); |
409 |
How do I add a spin editor that allows only integer values
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType; var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exInteger; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(0); var_Items.AddItem(1); var_Items.AddItem(2); |
408 |
How do I add a spin editor
(axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType; EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(0); var_Items.AddItem(1); var_Items.AddItem(2); |
407 |
How do I specify in a drop down list editor, that I do not want to have predefined icon
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"The first item",1); var_Editor.AddItem(2,"The second item",3); var_Editor.AddItem(3,"The third item",2); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDropDownImage,false); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
406 |
How do I add a drop down editor, that allows only predefined values
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("DropDown") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownListType; var_Editor.AddItem(1,"The first item",1); var_Editor.AddItem(2,"The second item",3); var_Editor.AddItem(3,"The third item",2); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem(1); var_Items.AddItem(2); |
405 |
How to allow the editor to work on insert or overtype mode
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditAllowOverType,true); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditOverType,true); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("000"); var_Items.AddItem("111"); var_Items.AddItem("222"); |
404 |
How to set foreground color for a locked, or read only edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.Locked = true; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditLockedForeColor,8421504); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("000"); var_Items.AddItem("111"); var_Items.AddItem("222"); |
403 |
How to set background color for a locked, or read only edit control
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.Locked = true; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditLockedBackColor,8421504); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("000"); var_Items.AddItem("111"); var_Items.AddItem("222"); |
402 |
How to set the number of characters selected, when an EditType editor is opened
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditSelLength,1); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("000"); var_Items.AddItem("111"); var_Items.AddItem("222"); |
401 |
How to set the starting point of text selected, when an EditType editor is opened
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Edit") as EXG2ANTTLib.Column).Editor; var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType; var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditSelStart,1); var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEditSelLength,1); EXG2ANTTLib.Items var_Items = axG2antt1.Items; var_Items.AddItem("000"); var_Items.AddItem("111"); var_Items.AddItem("222"); |